package com.heatingcharge.service.sys;

import com.heatingcharge.entity.sys.SysDept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heatingcharge.param.DeptParam;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *   服务类
 * </p>
 *
 * @author devin.jiang
 * @since 2019-06-27
 */
public interface ISysDeptService extends IService<SysDept> {
    List<SysDept> selectDepts();

    Integer save(DeptParam deptParam);

    Integer update(DeptParam deptParam);

    Boolean checkExist(Integer parentId,String deptName,Integer id);

    @Override
    boolean removeById(Serializable id);
}
